package cn.com.lms.business.course.persistence.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Transient;
import java.sql.Timestamp;
import java.util.List;

/**
 * 课程目录树集合
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class CourseCategoryTree {

    @Schema(description = "ID")
    private long id;
    @Schema(description = "父级ID")
    private long parentId;
    @Schema(description = "目录名称")
    private String name;
    @Schema(description = "排序")
    private int sort;
    private String isDelete;
    @Schema(description = "目录树子节点")
    private List<CourseCategoryTree> childList;



}
